﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlThongTinChung.ascx.cs" Inherits="Usercontrol_ControlThongTinChung" %>
<%@ Import Namespace="webapp4U" %>
<style type="text/css">
.display { width:100px; height:100px;}
</style>
<div>
<h2>Thông tin chung</h2>


    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
        BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
        CellPadding="2"  EnableModelValidation="True" 
        ForeColor="Black" GridLines="None" Height="50px" Width="400px">
        <AlternatingRowStyle BackColor="PaleGoldenrod" />
        <EditRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        <Fields>
            <asp:BoundField DataField="Họ tên" HeaderText="Họ tên" 
                SortExpression="Họ tên" />
            <asp:BoundField DataField="Ngày sinh" HeaderText="Ngày sinh" 
                SortExpression="Ngày sinh" />
            <asp:BoundField DataField="Địa chỉ" HeaderText="Địa chỉ" ReadOnly="True" 
                SortExpression="Địa chỉ" />
            <asp:BoundField DataField="Số điện thoại" HeaderText="Số điện thoại" 
                SortExpression="Số điện thoại" />
            <asp:BoundField DataField="Mail" HeaderText="Mail" SortExpression="Mail" />
            <asp:BoundField DataField="Cấp bậc" HeaderText="Cấp bậc" 
                SortExpression="Cấp bậc" />
            <asp:BoundField DataField="TT Phân phối" HeaderText="TT Phân phối" 
                SortExpression="TT Phân phối" />
        </Fields>
        <FooterStyle BackColor="Tan" />
        <HeaderStyle BackColor="Tan" Font-Bold="True" />
        <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
            HorizontalAlign="Center" />
    </asp:DetailsView>
    <br />
    


</div>
<br>
<hr>
<div>
<h2>Clip</h2>
<p>
    &nbsp;</div>
<br>
<hr>
<div>
<h2>Những câu chuyện</h2>
    <p>
        <asp:DataList ID="DataStory" runat="server" BackColor="LightGoldenrodYellow" 
            BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black">
            <AlternatingItemStyle BackColor="PaleGoldenrod" />
            <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <ItemTemplate>
                <table ID="table1" height="134" width="400">
                    <tr>
                        <td rowspan="2" width="154">
                            <img class="display" src="<%=Globals.ImageStory() %><%# Eval("imagePath") %>" />
                           
                        </td>
                        <td height="33">
                            <asp:Literal ID="Literal1" runat="server" Text='<%# Bind("Title") %>'></asp:Literal>
                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="Literal2" runat="server" Text='<%# Bind("description") %>'></asp:Literal>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        </asp:DataList>
    </p>
    <p>
        <asp:GridView ID="GridStories" runat="server">
        </asp:GridView>
    </p>
</div>

